package com.neusoft.ruangong.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neusoft.ruangong.domain.Conference;
import com.neusoft.ruangong.domain.Reservation;
import com.neusoft.ruangong.domain.Reservations;
import io.swagger.models.auth.In;

import java.math.BigInteger;
import java.sql.Time;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ReservationService extends IService<Reservation> {
    Integer modifyReservation(Long id);
    List<Conference> queryConference(Long id);
    List<Reservations> UntreatedReservation(Long index,Long limit);
    List<Reservations> queryLinkReservation(String str);

    Integer addConference(BigInteger userId, Long reservationid);

    Reservation queryReservation(String user, Date date, Time begintime);

    Boolean addConference(String roomName, Reservation reservation, List<String> userNames);

    Integer queryUntreatedSize();

    List<Reservations> queryReservationByName(String userName, Long index, Long limit);

    Integer queryReservationCount(String userName);

    List<Reservations> searchUserReservation(String roomName, Long userId);

    Map queryAllUserTime(List<String> users,String data, Time begintime, Time endtime);

    Integer modifyReservation1(Long id);

    List<Reservations> pageReservation(Long index, Long limit);

    Integer queryPageSize();
}
